<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>代码快照报告</title>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/github-dark.min.css">
  <style>
    :root {
      --bg-color: #0d1117;
      --header-bg: #161b22;
      --text-color: #c9d1d9;
      --border-color: #30363d;
      --accent-color: #58a6ff;
    }
    
    body {
      background-color: var(--bg-color);
      color: var(--text-color);
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
      line-height: 1.6;
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
    }
    
    h1 {
      text-align: center;
      color: var(--accent-color);
      margin-bottom: 40px;
      padding-bottom: 15px;
      border-bottom: 1px solid var(--border-color);
    }
    
    .file {
      background: var(--header-bg);
      border-radius: 8px;
      border: 1px solid var(--border-color);
      margin-bottom: 30px;
      overflow: hidden;
    }
    
    .header {
      padding: 12px 20px;
      font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
      font-size: 14px;
      border-bottom: 1px solid var(--border-color);
      display: flex;
      align-items: center;
    }
    
    .header::before {
      content: '📄';
      margin-right: 10px;
      font-size: 16px;
    }
    
    .content {
      padding: 0;
    }
    
    pre {
      margin: 0;
      padding: 15px 20px;
      overflow-x: auto;
    }
    
    .divider {
      height: 1px;
      background: var(--border-color);
      margin: 25px 0;
    }
    
    .info-bar {
      display: flex;
      justify-content: space-between;
      padding: 15px 20px;
      background: rgba(1, 112, 184, 0.1);
      border-top: 1px solid var(--border-color);
      font-size: 14px;
    }
    
    .timestamp {
      color: #8b949e;
    }
  </style>
</head>
<body>
  <h1>代码快照报告</h1>
  {{content}}
  <div class="info-bar">
    <div class="timestamp">生成时间: {{timestamp}}</div>
    <div>文件总数: {{fileCount}}</div>
  </div>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js"></script>
  <script>hljs.highlightAll();</script>
</body>
</html>